package com.wangjie.stackandqueue;

/**
 * @author jieshao
 * @date 2022/5/6 17:44
 */
public class Test01 {
    public static void main(String[] args) {
        StackImpQueue siq = new StackImpQueue();
        siq.push(1);
        siq.push(2);
        siq.push(3);
        siq.push(4);
        siq.push(5);
        System.out.println(siq.peek());
        System.out.println(siq.pop());
        System.out.println(siq.empty());
    }
}